package aa;
@SuppressWarnings("serial")
class CheckException extends Exception {
    public CheckException(String a) {
	super("Error: " + a);
    }
}

public class ExceptionTest {
    public static void main(String args[]) throws Exception {
	try {
	    throw new CheckException("5");
	} catch (CheckException e) {
	    System.out.println(e.getMessage());
	}
    }
}
